using System;
using System.Collections;
using System.Collections.Generic;
using static System.Console;
using static System.Convert;

namespace QueueDemo
{
    class Program
    {
        static void Main(string[] args)
        {
            Stack<string> intstack = new Stack<string>();
            Stack<string> outstack = new Stack<string>();

            intstack.Push("Sunday");  
            intstack.Push("Monday");
            intstack.Push("Tuesdayosssdasds");
            intstack.Push("Wednsday");
            intstack.Push("Thursday");
            intstack.Push("Friday");
            intstack.Push("Saturday");

            while (intstack.Count > 0)
            {
                outstack.Push(intstack.Pop());
            }

            while (outstack.Count > 0)
            {
                WriteLine(outstack.Pop());
            }

            Console.ReadKey();
        }
    }
}
